﻿using B.MES.Customer.Domain;
using B.MES.Customer.Domain.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.MES.Customer.Infrastructure.IRepository
{
    /// <summary>
    /// 生产仓储层
    /// </summary>
    public interface IProduceRepository:IBaseRepository<Produce>
    {
        int AddProduce(Produce produce, string? SalesOrderNumber);
        PageApiResut<Produce> GetProduceShow(string ProCode, int pageIndex, int pageSize);
        List<Produce> GetProduct();

        int DelteProduce(int ProId);
        Produce GetProduceByProId(int ProId);
        int UpdateProduce(Produce produce);
    }
}
